package com.iaz.tech.tools.common.flow.impl;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.iaz.tech.tools.common.flow.IFlowAble;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * catch 命令
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CatchFlow extends FlowsGroup {
	/**
      * 日志
      */
	private final static Logger logger = (Logger) LoggerFactory.getLogger(CatchFlow.class);
	
	private ParameterDeclare exception = null;

     /**
      * 执行前处理
      */  
     @Override
     public Object beforeExecute(Object property) {
          Object result = null;
          try {

          } catch(Exception e) {
               logger.error("catch 异常", e);
          }
          return result;
     }
     /**
      * 执行后处理
      */
     @Override
     public Object afterExecute(Object property) {
          Object result = null;
          return result;    
     }
}
